import page from './pages'; 
export default [
    {
        path: '/',
        component: r => require(['@/components/home'], r),
        children: page,
        meta: {
            requiresAuth: true
        }
    },
    {
        path: '/login',
        component: r => require(['@/components/login'], r),
    }
    ,
    {
        path: '*',
        name: '404',
        component: r => require(['@/components/err'], r)
    }
]